package egovframework.example.sample.util;

import java.util.Iterator;
import java.util.List;
import java.util.Map;

import egovframework.rte.psl.dataaccess.util.EgovMap;

public class StringUtil {
	@SuppressWarnings("unchecked")
	public void getEgovMapPrint(List<EgovMap> list) {
		  System.out.println("총 데이터 숫자:" + list.size());
		  String value= "";
		  for(int i = 0; i < list.size(); i++){
		         Iterator<String> iterator = list.get(i).keySet().iterator();
		         value = i + 1 + "번째 데이터 :{";
		            while (iterator.hasNext()) {
		                String key = (String) iterator.next();
		                value += key + " :";
		                value += list.get(i).get(key) + "   ";
		            }
		            value += "}";
		            System.out.println(value);
		            
		        }
	}
}
